import Vue from 'vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import App from './App.vue';
import VueLazyLoad from "@/components/lazyLoad/lazyLoad";
import './mock'

Vue.use(ElementUI);
const loading = require('./assets/loading.gif')
Vue.use(VueLazyLoad,{
  preLoad: 1.3, // 可见区域的1.3倍
  loading, // loading图
})


Vue.config.productionTip = false

new Vue({
  render: h => h(App),
}).$mount('#app')
